package com.faxe.educar.ws.to;

import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.OneToMany;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

@Entity
@Table(name="services")
public class ServiceTO extends BaseTO implements java.io.Serializable{

	private static final long serialVersionUID = 1L;
	
	/** 
	 * Constantes da classe 
	 */
	
	public static final String CLASS_TYPE_GROUP = "CLASS_TYPE_GROUP";
	public static final String CLASS_TYPE_PARTICULAR = "CLASS_TYPE_PARTICULAR";

	@Id
	@GenericGenerator(name="serviceGenerator", strategy="increment")
	@Column(name="ID",unique = true, nullable = false)
	@GeneratedValue(generator = "serviceGenerator")
	private Long id;
	
	@Column(name="TITLE")
	private String title;
	
	@Column(name="CATEGORY")
	private String category;
	
	@Column(name="SUBCATEGORY")
	private String subcategory;
	
	@Column(name="LITTLE_DESCRIPTION")
	private String littleDescription;
	
	@Column(name="FULL_DESCRIPTION")
	private String fullDescription;
	
	@Column(name="CLASS_TYPE")
	private String classType;
	
	@Column(name="LOCOMOTION_TYPE")
	private String locomotionType;
	
	@Column(name="TEACHING_TYPE")
	private String teachingType;
	
	@Column(name="PRICE")
	private String price;
	
	@Column(name="NAME")
	private String name;
	
	@Column(name="EMAIL")
	private String email;
	
	@Column(name="PHONE_NUMBER")
	private String phoneNumber;
	
	@Column(name="PHONE_NUMBER_2")
	private String phoneNumber2;
	
	@Column(name="PHONE_NUMBER_3")
	private String phoneNumber3;
	
	@Column(name="ADDRESS")
	private String address;
	
	@Column(name="ZIP_CODE")
	private String zipCode;
	
	@Column(name="COMPLEMENT")
	private String complement;
	
	@Column(name="STATE")
	private String state;
	
	@Column(name="CITY")
	private String city;
	
	/*
	 * Relationships
	 */
	


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}  

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getSubcategory() {
		return subcategory;
	}

	public void setSubcategory(String subcategory) {
		this.subcategory = subcategory;
	}

	public String getLittleDescription() {
		return littleDescription;
	}

	public void setLittleDescription(String littleDescription) {
		this.littleDescription = littleDescription;
	}

	public String getFullDescription() {
		return fullDescription;
	}

	public void setFullDescription(String fullDescription) {
		this.fullDescription = fullDescription;
	}

	public String getClassType() {
		return classType;
	}

	public void setClassType(String classType) {
		this.classType = classType;
	}

	public String getLocomotionType() {
		return locomotionType;
	}

	public void setLocomotionType(String locomotionType) {
		this.locomotionType = locomotionType;
	}

	public String getTeachingType() {
		return teachingType;
	}

	public void setTeachingType(String teachingType) {
		this.teachingType = teachingType;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getPhoneNumber2() {
		return phoneNumber2;
	}

	public void setPhoneNumber2(String phoneNumber2) {
		this.phoneNumber2 = phoneNumber2;
	}

	public String getPhoneNumber3() {
		return phoneNumber3;
	}

	public void setPhoneNumber3(String phoneNumber3) {
		this.phoneNumber3 = phoneNumber3;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getZipCode() {
		return zipCode;
	}

	public void setZipCode(String zipCode) {
		this.zipCode = zipCode;
	}

	public String getComplement() {
		return complement;
	}

	public void setComplement(String complement) {
		this.complement = complement;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String getAbreviation() {
		// TODO Auto-generated method stub
		return null;
	}
}
